package com.clas.liu.myapplication.model.event;

import com.clas.liu.myapplication.model.entity.BaseRoot;
import com.clas.liu.myapplication.model.entity.info.Info;
import com.clas.liu.myapplication.model.entity.info.InfoRoot;

/**
 * Created by liu on 2019/5/5.
 */

public class UserEvent extends BaseEvent {

    public static final int GET_USER_INFO_OK = 800;
    public static final int GET_USER_INFO_FAIL = -800;
    public static final int SET_INFO_SETTLED_OK = 900;
    public static final int SET_INFO_SETTLED_FAIL = -900;
    public static final int DELETE_INFO_OK = 2000;
    public static final int DELETE_INFO_FAIL=-2000;
    public InfoRoot root;

    public InfoRoot getRoot() {
        return root;
    }

    private BaseRoot baseRoot;

    public BaseRoot getBaseRoot() {
        return baseRoot;
    }

    public void setBaseRoot(BaseRoot baseRoot) {
        this.baseRoot = baseRoot;
    }

    public void setRoot(InfoRoot root) {
        this.root = root;
    }
    private Info infoRoot;

    public Info getInfoRoot() {
        return infoRoot;
    }

    public void setInfoRoot(Info infoRoot) {
        this.infoRoot = infoRoot;
    }
}
